public class Job02 {
    public static void main(String[] args) {
        int num = 0;
        for (int i = 2; i <= 100; i++) {
            for (int j = 2; j <= i; j++) {
                if (i%j==0 && i!=j){
                    break;
                }
                if (i==j){
                    System.out.println(j+ ":是质数");
                    num++;
                }
            }
        }
        System.out.println(num+ ":个质数");
    }
}
